﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;

using BTKinect.DataType;

namespace BTKinect
{
    partial class frmShowData : Form
    {
        public frmShowData(KinectData k)
        {
            InitializeComponent();
            foreach (var item in k.DataInStringForm)
            {
                richTextBox1.Text += item + "\n";
            }         
        }
        public frmShowData(KinectData k, string s)
        {
            InitializeComponent();
            foreach (var item in k.DataInStringForm)
            {
                richTextBox1.Text += item + "\n";
            } 
            this.Text = s;
        }

        private void frmShowData_FormClosing(object sender, FormClosingEventArgs e)
        {
            //this.Hide();
            //e.Cancel = true;
        }

    }
}
